package cn.taleo.api.service;


import cn.taleo.entity.UserDto;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 *
 * @methodDesc: 功能描述:(用户服务)
 * @param: @param
 * @param: @return
 */
@RequestMapping("/member")
public interface UserService {
    /**
     * @methodDesc: 功能描述:(1.注册)
     * @param: @param
     * @param: @return
     */
    @PostMapping("/register")
    Map<String, Object> register(@RequestBody UserDto userDto);


}